package com.ruoyi.zsyh.domain;

import java.math.BigDecimal;
import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 大区商城配件管理对象 zsyh_agent_parts
 * 
 * @author yuexl
 * @date 2021-12-16
 */
public class ZsyhAgentParts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 配件Id */
    private String id;

    /** 大区会长Id */
    @Excel(name = "大区会长Id")
    private String agentId;

    /** 配件名称 */
    @Excel(name = "配件名称")
    private String partsName;

    /** 配件编码 */
    @Excel(name = "配件编码")
    private String partsNumber;

    /** 配件分类id */
    @Excel(name = "配件分类id")
    private String partsType;

    /** 配件品牌 */
    @Excel(name = "配件品牌")
    private String partsBrand;

    /** 配件描述 */
    @Excel(name = "配件描述")
    private String partsDetails;

    /** 配件 主图 */
    @Excel(name = "配件 主图")
    private String partsImages;

    /** 配件详细信息（图文详情） */
    @Excel(name = "配件详细信息", readConverterExp = "图=文详情")
    private String partsRemarks;

    /** 是否今日热卖（1是0否） */
    @Excel(name = "是否今日热卖", readConverterExp = "1=是0否")
    private String isTodayHot;

    /** 是否新品推荐（1是0否） */
    @Excel(name = "是否新品推荐", readConverterExp = "1=是0否")
    private String isNewPush;

    /** 是否好物优选（1是0否） */
    @Excel(name = "是否好物优选", readConverterExp = "1=是0否")
    private String isGoodChoice;

    /** 是否热门推荐（1是0否） */
    @Excel(name = "是否热门推荐", readConverterExp = "1=是0否")
    private String isHotPush;

    /** 是否包邮（1是0否） */
    @Excel(name = "是否包邮", readConverterExp = "1=是0否")
    private String isPost;

    /** 是否上架（1上架0下架） */
    @Excel(name = "是否上架", readConverterExp = "1=上架0下架")
    private String isShow;

    /** 订购最低数量 */
    @Excel(name = "订购最低数量")
    private Long partsQuantity;

    /** 排序数字越大，排序约靠前 */
    @Excel(name = "排序数字越大，排序约靠前")
    private Long partsSort;

    /** 分类 1配件 2整机 */
    @Excel(name = "分类 1配件 2整机")
    private String partsClassification;

    /** 配件的单位 */
    @Excel(name = "配件的单位")
    private String partsUnit;

    /** 平台配件ID */
    @Excel(name = "平台配件ID")
    private String partsId;

    /** 配件分类1平台配件2自有配件 */
    @Excel(name = "配件分类1平台配件2自有配件")
    private String partsDistinguish;

    /** 注意事项 */
    @Excel(name = "注意事项")
    private String partsAttention;

    /** 使用说明 */
    @Excel(name = "使用说明")
    private String partsInstructions;

    private String agentName;

    private String agentPerson;

    //产品分类名称
    private String partsTypeName;


    //规格最小价格
    private BigDecimal minPrice;

    //规格最大价格
    private BigDecimal maxPrice;


    private String agentCompanyName;

    private String agentImage;

    /** 会长商城产品规格信息 */
    private List<ZsyhAgentPartsattribute> zsyhAgentPartsattributeList;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setAgentId(String agentId) 
    {
        this.agentId = agentId;
    }

    public String getAgentId() 
    {
        return agentId;
    }
    public void setPartsName(String partsName) 
    {
        this.partsName = partsName;
    }

    public String getPartsName() 
    {
        return partsName;
    }
    public void setPartsNumber(String partsNumber) 
    {
        this.partsNumber = partsNumber;
    }

    public String getPartsNumber() 
    {
        return partsNumber;
    }
    public void setPartsType(String partsType) 
    {
        this.partsType = partsType;
    }

    public String getPartsType() 
    {
        return partsType;
    }
    public void setPartsBrand(String partsBrand) 
    {
        this.partsBrand = partsBrand;
    }

    public String getPartsBrand() 
    {
        return partsBrand;
    }
    public void setPartsDetails(String partsDetails) 
    {
        this.partsDetails = partsDetails;
    }

    public String getPartsDetails() 
    {
        return partsDetails;
    }
    public void setPartsImages(String partsImages) 
    {
        this.partsImages = partsImages;
    }

    public String getPartsImages() 
    {
        return partsImages;
    }
    public void setPartsRemarks(String partsRemarks) 
    {
        this.partsRemarks = partsRemarks;
    }

    public String getPartsRemarks() 
    {
        return partsRemarks;
    }
    public void setIsTodayHot(String isTodayHot) 
    {
        this.isTodayHot = isTodayHot;
    }

    public String getIsTodayHot() 
    {
        return isTodayHot;
    }
    public void setIsNewPush(String isNewPush) 
    {
        this.isNewPush = isNewPush;
    }

    public String getIsNewPush() 
    {
        return isNewPush;
    }
    public void setIsGoodChoice(String isGoodChoice) 
    {
        this.isGoodChoice = isGoodChoice;
    }

    public String getIsGoodChoice() 
    {
        return isGoodChoice;
    }
    public void setIsHotPush(String isHotPush) 
    {
        this.isHotPush = isHotPush;
    }

    public String getIsHotPush() 
    {
        return isHotPush;
    }
    public void setIsPost(String isPost) 
    {
        this.isPost = isPost;
    }

    public String getIsPost() 
    {
        return isPost;
    }
    public void setIsShow(String isShow) 
    {
        this.isShow = isShow;
    }

    public String getIsShow() 
    {
        return isShow;
    }
    public void setPartsQuantity(Long partsQuantity) 
    {
        this.partsQuantity = partsQuantity;
    }

    public Long getPartsQuantity() 
    {
        return partsQuantity;
    }
    public void setPartsSort(Long partsSort) 
    {
        this.partsSort = partsSort;
    }

    public Long getPartsSort() 
    {
        return partsSort;
    }
    public void setPartsClassification(String partsClassification) 
    {
        this.partsClassification = partsClassification;
    }

    public String getPartsClassification() 
    {
        return partsClassification;
    }
    public void setPartsUnit(String partsUnit) 
    {
        this.partsUnit = partsUnit;
    }

    public String getPartsUnit() 
    {
        return partsUnit;
    }
    public void setPartsId(String partsId) 
    {
        this.partsId = partsId;
    }

    public String getPartsId() 
    {
        return partsId;
    }
    public void setPartsDistinguish(String partsDistinguish) 
    {
        this.partsDistinguish = partsDistinguish;
    }

    public String getPartsDistinguish() 
    {
        return partsDistinguish;
    }
    public void setPartsAttention(String partsAttention) 
    {
        this.partsAttention = partsAttention;
    }

    public String getPartsAttention() 
    {
        return partsAttention;
    }
    public void setPartsInstructions(String partsInstructions) 
    {
        this.partsInstructions = partsInstructions;
    }

    public String getPartsInstructions() 
    {
        return partsInstructions;
    }

    public List<ZsyhAgentPartsattribute> getZsyhAgentPartsattributeList()
    {
        return zsyhAgentPartsattributeList;
    }

    public void setZsyhAgentPartsattributeList(List<ZsyhAgentPartsattribute> zsyhAgentPartsattributeList)
    {
        this.zsyhAgentPartsattributeList = zsyhAgentPartsattributeList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("agentId", getAgentId())
            .append("partsName", getPartsName())
            .append("partsNumber", getPartsNumber())
            .append("partsType", getPartsType())
            .append("partsBrand", getPartsBrand())
            .append("partsDetails", getPartsDetails())
            .append("partsImages", getPartsImages())
            .append("partsRemarks", getPartsRemarks())
            .append("isTodayHot", getIsTodayHot())
            .append("isNewPush", getIsNewPush())
            .append("isGoodChoice", getIsGoodChoice())
            .append("isHotPush", getIsHotPush())
            .append("isPost", getIsPost())
            .append("isShow", getIsShow())
            .append("partsQuantity", getPartsQuantity())
            .append("partsSort", getPartsSort())
            .append("partsClassification", getPartsClassification())
            .append("partsUnit", getPartsUnit())
            .append("partsId", getPartsId())
            .append("partsDistinguish", getPartsDistinguish())
            .append("partsAttention", getPartsAttention())
            .append("partsInstructions", getPartsInstructions())
            .append("zsyhAgentPartsattributeList", getZsyhAgentPartsattributeList())
            .toString();
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public String getAgentPerson() {
        return agentPerson;
    }

    public void setAgentPerson(String agentPerson) {
        this.agentPerson = agentPerson;
    }

    public String getPartsTypeName() {
        return partsTypeName;
    }

    public void setPartsTypeName(String partsTypeName) {
        this.partsTypeName = partsTypeName;
    }

    public BigDecimal getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(BigDecimal minPrice) {
        this.minPrice = minPrice;
    }

    public BigDecimal getMaxPrice() {
        return maxPrice;
    }

    public void setMaxPrice(BigDecimal maxPrice) {
        this.maxPrice = maxPrice;
    }

    public String getAgentCompanyName() {
        return agentCompanyName;
    }

    public void setAgentCompanyName(String agentCompanyName) {
        this.agentCompanyName = agentCompanyName;
    }

    public String getAgentImage() {
        return agentImage;
    }

    public void setAgentImage(String agentImage) {
        this.agentImage = agentImage;
    }
}


